<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>伪类选择器</title>
    <style>
        a{
            text-decoration: none;
        }
        a:link{
            color: yellow;
        }
        a:visited{
            color: deeppink;
        }
        a:hover{
            color: black;
        }
        a:active{
            color: blue;
        }
    </style>
</head>
<body>
<a href="https://www.baidu.com" target="_blank">百度一下</a>
</body>
</html>